﻿<div class="span10">
	<h1>Calendário de Reservas</h1>
	<?php echo Flash::render(); ?>
	<?php echo $calendario; ?>
	<p>&nbsp;</p>
	<center>
	<?php
	$mesAno = isset($_GET['month']) && isset($_GET['year']) ? '?month='.$_GET['month'].'&year='.$_GET['year'] : '';
	echo Html::anchor('calendario/relatorio/'.$mesAno, 'Imprimir Relatório', array('class' => 'btn btn-primary', 'target' => '_blank'));
	?>
	</center>
	<p>&nbsp;</p>
	<?php $view = new View('reserva/lista'); $view->bind('periodos', $periodos); echo $view; ?>
</div>